package Rozetka.test;

import Rozetka.Pages.HomePage;
import org.testng.Assert;
import org.testng.annotations.Test;

public class CheckMenuElements extends TestCondition {

    @Test
    public void checkMenu() {
        HomePage home = new HomePage(driver);
        home.open();
        Assert.assertTrue(home.checkMenuAudio());
        Assert.assertTrue(home.checkMenuAuto());
        Assert.assertTrue(home.checkMenuBT());
        Assert.assertTrue(home.checkMenuChild());
        Assert.assertTrue(home.checkMenuHomeAndGarden());
        Assert.assertTrue(home.checkMenuNote());
        Assert.assertTrue(home.checkMenuOutdoorsman());
        Assert.assertTrue(home.checkMenuPhone());
        Assert.assertTrue(home.checkMenuTickets());
    }
}
